package com.admin.system.modules.mnt.mapper;

import com.admin.system.modules.mnt.entity.Server;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.Set;

/**
 * @author sq-lan
 **/
@Mapper
public interface DeployServerMapper {

    void insertData(@Param("deployId") Integer deployId, @Param("servers") Set<Server> servers);

    void deleteByDeployId(@Param("deployId") Integer deployId);

    void deleteByDeployIds(@Param("deployIds") Set<Integer> deployIds);

    void deleteByServerIds(@Param("serverIds") Set<Integer> serverIds);
}
